LightForm Class Reference

#include <LightForm.h>

List of all members.

Public Types

enum  { IDD = IDD_LIGHTFORM }

Public Member Functions

void OnInitialUpdate ()
afx_msg void OnBnClickedButton1 ()
afx_msg void OnBnClickedButton2 ()
afx_msg void OnBnClickedButton3 ()
afx_msg void OnBnClickedButton4 ()
afx_msg void OnBnClickedButton5 ()
afx_msg void OnBnClickedButton6 ()
afx_msg void OnBnClickedButton7 ()
afx_msg void OnBnClickedButton8 ()

Protected Member Functions

 LightForm ()
virtual ~LightForm ()
virtual void DoDataExchange (CDataExchange *pDX)

Protected Attributes

CButton redNormalLightButton1
HICON iconNormalRedLight1
CButton yellowNormalLightButton2
HICON iconNormalYellowLight2
CButton greenNormalLightButton3
HICON iconNormalGreenLight3


Detailed Description

LightForm Class. The Form View in the ToolBox for the TrafficLights, ie. red, yellow, green.

Definition at line 6 of file LightForm.h.


Member Enumeration Documentation

anonymous enum
 

Enumeration for the TrafficLight Form View of the resources of GUI.

Enumerator:
IDD 

Definition at line 18 of file LightForm.h.


Constructor & Destructor Documentation

LightForm::LightForm (   )  [protected]
 

Definition at line 28 of file LightForm.cpp.

References theApp.

LightForm::~LightForm (   )  [protected, virtual]
 

Definition at line 42 of file LightForm.cpp.


Member Function Documentation

void LightForm::DoDataExchange (  CDataExchange *  pDX  )  [protected, virtual]
 

Definition at line 46 of file LightForm.cpp.

References greenNormalLightButton3, redNormalLightButton1, and yellowNormalLightButton2.

void LightForm::OnBnClickedButton1 (   ) 
 

Replaces the ToolBox View from TrafficLights to Roads View.

Definition at line 94 of file LightForm.cpp.

References C4WaySplitter::ReplaceView().

void LightForm::OnBnClickedButton2 (   ) 
 

Replaces the ToolBox View from TrafficLights to Vehicles View.

Definition at line 104 of file LightForm.cpp.

References C4WaySplitter::ReplaceView().

void LightForm::OnBnClickedButton3 (   ) 
 

Replaces the ToolBox View from TrafficLights to TrafficLights View. That is no action.

Definition at line 167 of file LightForm.cpp.

void LightForm::OnBnClickedButton4 (   ) 
 

Replaces the ToolBox View from TrafficLights to TrafficSigns View.

Definition at line 114 of file LightForm.cpp.

References C4WaySplitter::ReplaceView().

void LightForm::OnBnClickedButton5 (   ) 
 

Sets the draw mode of the system to draw light and the color to red.

Definition at line 124 of file LightForm.cpp.

References DRAW_TRAFFIC_LIGHT, KIRMIZI, and NORMAL_ISIK.

void LightForm::OnBnClickedButton6 (   ) 
 

Sets the draw mode of the system to draw light and the color to yellow.

Definition at line 138 of file LightForm.cpp.

References DRAW_TRAFFIC_LIGHT, NORMAL_ISIK, and SARI.

void LightForm::OnBnClickedButton7 (   ) 
 

Sets the draw mode of the system to draw light and the color to green.

Definition at line 154 of file LightForm.cpp.

References DRAW_TRAFFIC_LIGHT, NORMAL_ISIK, and YESIL.

void LightForm::OnBnClickedButton8 (   ) 
 

Replaces the ToolBox View from TrafficLights to Environmental Objects View.

Definition at line 171 of file LightForm.cpp.

References C4WaySplitter::ReplaceView().

void LightForm::OnInitialUpdate (   ) 
 

Responsible from making ready the TrafficLight Form View.

Definition at line 84 of file LightForm.cpp.

References greenNormalLightButton3, iconNormalGreenLight3, iconNormalRedLight1, iconNormalYellowLight2, redNormalLightButton1, and yellowNormalLightButton2.


Member Data Documentation

CButton LightForm::greenNormalLightButton3 [protected]
 

Definition at line 36 of file LightForm.h.

Referenced by DoDataExchange(), and OnInitialUpdate().

HICON LightForm::iconNormalGreenLight3 [protected]
 

Definition at line 37 of file LightForm.h.

Referenced by OnInitialUpdate().

HICON LightForm::iconNormalRedLight1 [protected]
 

Definition at line 33 of file LightForm.h.

Referenced by OnInitialUpdate().

HICON LightForm::iconNormalYellowLight2 [protected]
 

Definition at line 35 of file LightForm.h.

Referenced by OnInitialUpdate().

CButton LightForm::redNormalLightButton1 [protected]
 

Definition at line 32 of file LightForm.h.

Referenced by DoDataExchange(), and OnInitialUpdate().

CButton LightForm::yellowNormalLightButton2 [protected]
 

Definition at line 34 of file LightForm.h.

Referenced by DoDataExchange(), and OnInitialUpdate().


The documentation for this class was generated from the following files:
Generated on Sun May 28 18:54:13 2006 for TraffEdu by  doxygen 1.4.6-NO